import Cookies from 'js-cookie'

const TokenKey = 'CMR3-Token'

const cacheCookies = {
    getToken() {
        return Cookies.get(TokenKey)
    },

    setToken(token) {
        return Cookies.set(TokenKey, token)
    },

    removeToken() {
        return Cookies.remove(TokenKey)
    },

    loginOut() {

    }
}

export default cacheCookies